home *** CD-ROM | disk | FTP | other *** search
- -- the following script is in the button
- on mouseUp
- global gNetFlag
- GetNetText the text of field "argument"
- set gNetFlag = 1
- end
-
- -- the next one is a movie script
- on idle
- if gNetFlag then
- if netDone() then
- if not(netError() contains "OK") then
- set netText = "Error:" & netError()
- else set netText = "Error:" & netError() && ¬
- "MIME:" & netMIME() && "Modified:" & netLastModDate() ¬
- & return & netTextResult()
- if netText <> EMPTY then set the text of ¬
- field "results" to netText
- set gNetFlag = 0
- end if
- end if
- end
-